home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-08 | 2.3 KB | 70 lines | [TEXT/MPS ] |
- //========================================================================================
- //
- // File: NothDef.h
- // Release Version: $ 1.0d11 $
- //
- // Copyright: © 1993, 1995 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef NOTHDEF_H
- #define NOTHDEF_H
-
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- #ifndef FW_SUPPORTS_EMBEDDING
- #error You must define FW_SUPPORTS_EMBEDDING to be 0 or 1 (immediately above)
- #endif
-
- #ifndef FW_SUPPORTS_EXTENSIONS
- #error You must define FW_SUPPORTS_EXTENSIONS to be 0 or 1 (immediately above)
- #endif
-
- #ifndef FW_SUPPORTS_SCRIPTING
- #error You must define FW_SUPPORTS_SCRIPTING to be 0 or 1 (immediately above)
- #endif
-
- // Kind
- #define kODFNothingKind "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Kind:ODFNothing"
-
- // Category
- #define kODFNothingCategory "+//ISO 9070/ANSI::113722::US::CI LABS::Apple:ODFExamples:Category:ODFNothing"
-
- // Class ID
- #define kODFNothingEditor "ODFExamples::ODFNothing"
-
- // Editor User String
- #define kODFNothingEditorUserString "ODFNothing 1.0d11"
-
- // Kind User String
- #define kODFNothingKindUserString "ODF Nothing Example"
-
- // Category User String
- #define kODFNothingCategoryUserString "ODF Example"
-
- // Nothing OSType
- #define kODFNothingOSType 'DFND'
-
- // Part Icon ID
- #define kPartIconID 128
-
- #define kKindCategoryMapId 128
- #define kEditorKindMapId kKindCategoryMapId + 1
- #define kEditorUserStringMapId kEditorKindMapId + 1
- #define kKindUserStringMapId kEditorUserStringMapId + 1
- #define kCategoryUserStringMapId kKindUserStringMapId + 1
- #define kOldMacOSTypeMapId kCategoryUserStringMapId + 1
- #endif
-
-